package com.jdy.haoduoaiteacher.intface;

import com.jdy.haoduoaiteacher.enums.MediaType;
import com.jdy.haoduoaiteacher.enums.PlayState;

import org.json.JSONObject;

public interface IMParseListener {

  public void onPlayMedia(PlayState playState, MediaType type, JSONObject data);

  public void onNetWorkDisconn();

  public void onPlayNextFailed();

  public void onPlayPrevFailed();

  public void onRemoteLogin();

  public void onConnectionChanged(boolean connect);

  public void onPowerChanged(int power);

  public void onUpgrade(int updatingStatus);

  public void onCheckDeviceVersion(String version);

  public void onReceivedVoiceMessage(String streamUrl);

}
